import request from '@/api/index'

/**
 * 搭配师 获取预约场次记录客资 客资卡片 --- 已分配
 * @param {*} data 
 * @returns 
 */
export function queryCustomerByClassApi(data) {
    return request({
        url: '/customerResource/queryClasseseRecordVenueResource',
        method: 'POST',
        data
    })
}
/**
 * 获取客资详情
 * @param {*} data
 * @returns 
 */
export function getCustomerInfoByID(data) {
    return request({
        url: '/customerResource/queryCustomerResourceDetailByID',
        method: 'POST',
        data
    })
}
/**
 * 获取客资标签
 * @param {*} data
 * @returns 
 */
export function getCustomerTagByID(data) {
    return request({
        url: '/customerResourceTag/queryCustomerResourceTagByID',
        method: 'POST',
        data
    })
}
/**
 * 添加/修改客户标签
 * @param {*} data
 * @returns 
 */
export function addCustomerResourceTags(data) {
    return request({
        url: '/customerResourceTag/addCustomerResourceTags',
        method: 'POST',
        data
    })
}
/**
 * 四单管理 --- 拍链接管理 跟进中
 * @param {*} data
 * @returns 
 */
export function queryCustomerLinkManagerPage(data) {
    return request({
        url: '/customerResource/queryCustomerResourceLinkManagerPageList',
        method: 'POST',
        data
    })
}
/**
 * 提交客资转链接申请 --- 搭配师
 * @param {*} data
 * @returns 
 */
export function commitCustomerResourceChangeLink(data) {
    return request({
        url: '/customerResourceLink/commitCustomerResourceChangeLink',
        method: 'POST',
        data
    })
}
/**
 * 获取提交客资转链接申请 --- 搭配师
 * @param {*} data
 * @returns 
 */
export function queryCustomerResourceChangeLink(data) {
    return request({
        url: '/customerResourceLink/queryCustomerResourceChangeLink',
        method: 'POST',
        data
    })
}
/**
 * 四单管理统计
 * @param {*} data
 * @returns 
 */
export function queryFourOrderManagerStatistics(data) {
    return request({
        url: '/customerResource/queryFourOrderManagerStatistics',
        method: 'POST',
        data
    })
}

/**
 * 四单管理 --- 跟单 --- 邀约管理
 * @param {*} data
 * @returns 
 */
export function queryCustomerResourceFollowPageList(data) {
    return request({
        url: '/customerResource/queryCustomerResourceFollowPageList',
        method: 'POST',
        data
    })
}
/**
 * 四单管理 --- 跟单 --- 邀约管理
 * @param {*} data
 * @returns 
 */
export function commitCustomerResourceLinkRefund(data) {
    return request({
        url: '/customerResourceLink/commitCustomerResourceLinkRefund',
        method: 'POST',
        data
    })
}
/**
 * 搭配师提出 S 客资争议
 * @param {*} data
 * @returns 
 */
export function matchCommitControversy(data) {
    return request({
        url: '/sAllocationRecord/matchCommitControversy',
        method: 'POST',
        data
    })
}
/**
 * 获取客资下拉框
 * @param {*} data
 * @returns 
 */
export function queryCustomerResourceSelect(data) {
    return request({
        url: '/applyGoOutOrder/queryCustomerResourceSelect',
        method: 'POST',
        data
    })
}
/**
 * 获取退款链接下拉框
 * @param {*} data
 * @returns 
 */
export function queryRefundLinkSelect(data) {
    return request({
        url: '/customerResourceLink/queryRefundLinkSelect',
        method: 'POST',
        data
    })
}
